Save logs into MSSQL Server